<!DOCTYPE html>
<html lang="en">
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:include="/nav.html"></div>
<div>
    <h3>学生课程</h3><hr>
    <table class="table" width="80%">
        <tr>
            <td>教师编号</td>
            <td>教师名称</td>
            <td>班级编号</td>
            <td>班级名称</td>
            <td>课程编号</td>
            <td>课程名称</td>
        </tr>
        <tr th:each="ta : ${tasks}">
            <td th:text="${ta.user.uid}"></td>
            <td th:text="${ta.user.uname}"></td>
            <td th:text="${ta.clz.clzno}"></td>
            <td th:text="${ta.clz.clzname}"></td>
            <td th:text="${ta.course.cno}"></td>
            <td th:text="${ta.course.cname}"></td>
        </tr>
    </table>
</div>
</body>
</html>